package com.wst.system.security.entity.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class SysUserEntityAddVo implements Serializable {

    private Integer userId;

    @NotBlank(message = "用户账号不得为空")
    private String username;

    @NotBlank(message = "姓名不得为空")
    private String realname;

    @NotNull(message = "性别不得为空")
    private Integer sex;

    @NotBlank(message = "手机号不得为空")
    private String phone;

    @NotBlank(message = "email不得为空")
    private String email;

    @NotBlank(message = "地址不得为空")
    private String address;

    private String idcard;

    private String birthday;

    private String descnote;


}
